﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Objects;
using System.Data.Objects.DataClasses;
using System.Runtime.Serialization;
using System.Data.Entity;

namespace CustomerService
{
    public class CustomerSearch : global::System.Data.Objects.DataClasses.EntityObject
    {
        [EdmScalarPropertyAttribute(EntityKeyProperty = true, IsNullable = true)]
        [DataMemberAttribute()]
        public string SearchKeyType { get; set; }
        [EdmScalarPropertyAttribute(IsNullable = false)]
        [DataMemberAttribute()]
        public Int32 CustomerID { get; set; }
        [EdmScalarPropertyAttribute(IsNullable = true)]
        [DataMemberAttribute()]
        public string Name { get; set; }
        [EdmScalarPropertyAttribute(IsNullable = true)]
        [DataMemberAttribute()]
        public string Address1 { get; set; }
        [EdmScalarPropertyAttribute(IsNullable = true)]
        [DataMemberAttribute()]
        public string City { get; set; }
        [EdmScalarPropertyAttribute(IsNullable = true)]
        [DataMemberAttribute()]
        public string State { get; set; }
        [EdmScalarPropertyAttribute(IsNullable = true)]
        [DataMemberAttribute()]
        public string PostalCode { get; set; }
        [EdmScalarPropertyAttribute(IsNullable = true)]
        [DataMemberAttribute()]
        public DateTime? OrderDate { get; set; }
        [EdmScalarPropertyAttribute(IsNullable = true)]
        [DataMemberAttribute()]
        public string OwnerName { get; set; }
    }
}